package com.sq.partner.manager.mybatis.model;

import java.math.BigDecimal;
import java.util.Date;

import com.sq.partner.manager.util.DateUtil;

/**
 * 激活卡作废查询结果model
 * SQ
 *
 */
public class ActirationCardCancel {
    private String cardDefineId;    //卡定义ID
    private String deptNo;          //当前机构
    private String status;          //状态
    private BigDecimal totPremamt;  //保费
    private Date disableDate;       //失效日期
    private String disableDateStr;  //失效日期yyyy-MM-dd
    private String name;             //卡名称
    private String pricelessType;    //卡类型
    private String cardNo;           //卡号
    private String minNo;            //查询出的最小卡号
    private String maxNo;            //查询出的最大卡号
    private String count;            //查询出的件数
    private String deptName;         //机构名称
    public String getCardDefineId() {
        return cardDefineId;
    }
    public void setCardDefineId(String cardDefineId) {
        this.cardDefineId = cardDefineId;
    }
    public String getDeptNo() {
        return deptNo;
    }
    public void setDeptNo(String deptNo) {
        this.deptNo = deptNo;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public BigDecimal getTotPremamt() {
        return totPremamt;
    }
    public void setTotPremamt(BigDecimal totPremamt) {
        this.totPremamt=totPremamt;
    }

    public Date getDisableDate() {
        return disableDate;
    }
    public String getDisableDateStr() {
        return disableDateStr;
    }
    public void setDisableDate(Date disableDate) throws Exception {
        this.disableDate = disableDate;
        if(disableDate != null){
            this.disableDateStr=DateUtil.format(disableDate,"yyyy-MM-dd");
        }
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPricelessType() {
        return pricelessType;
    }
    public void setPricelessType(String pricelessType) {
        this.pricelessType = pricelessType;
    }
    public String getCardNo() {
        return cardNo;
    }
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
    public String getMinNo() {
        return minNo;
    }
    public void setMinNo(String minNo) {
        this.minNo = minNo;
    }
    public String getMaxNo() {
        return maxNo;
    }
    public void setMaxNo(String maxNo) {
        this.maxNo = maxNo;
    }
    public String getCount() {
        return count;
    }
    public void setCount(String count) {
        this.count = count;
    }
    public String getDeptName() {
        return deptName;
    }
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
